package com.mileoresko.hierarchism.hsms;

public class LoopHsmConfiguration {
    private final long loopIntervalMs;
    private final boolean triggerImmediately;

    public LoopHsmConfiguration(long loopIntervalMs, boolean triggerImmediately) {
        this.loopIntervalMs = loopIntervalMs;
        this.triggerImmediately = triggerImmediately;
    }

    public boolean doTriggerImmediately() {
        return triggerImmediately;
    }

    public long getLoopIntervalMs() {
        return loopIntervalMs;
    }
}
